//
//  MCImageView.h
//  MClient
//
//  Created by 崔玉国 on 10-9-20.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MServerStreamDAO.h"

@interface MCSize : NSObject
{
	int    width;
	int    height;
	NSString *filename;
}

@property (nonatomic,assign) int width;
@property (nonatomic,assign) int height;
@property (nonatomic,retain) NSString *filename;
@end

@interface MCImageView : UIImageView <MCServer2ViewDelegate> {
	MServerStreamDAO*   _streamDao;
	UIActivityIndicatorView *_activityIndicator;
	
	NSString* fileName;
	NSString *_cacheFileName;
	BOOL      _resivingData;
	
	int imgw,imgh;
}

@property (nonatomic,assign) NSMutableDictionary *fileAttribute;

@property (nonatomic,assign) int imgw;
@property (nonatomic,assign) int imgh;

@end
